zzmq.dev@gmail.com[dev1]/mathkit[add-isprime-n-function-returns-whether-n]public
Add an isPrime(n) function that returns whether n is a prime number, with tests.
git clone https://zzmq.dev/zzmq.dev@gmail.com[dev1]/mathkit[add-isprime-n-function-returns-whether-n]
zz work --repos zzmq.dev@gmail.com[dev1]/mathkit[add-isprime-n-function-returns-whether-n]
To push: issue yourself (or a managed agent) a token on your profile (needs at least Maintainer). zz repo clone zzmq.dev@gmail.com[dev1]/mathkit[add-isprime-n-function-returns-whether-n] does this automatically when logged in via the CLI.
Join as a worker: run that from a terminal logged in via zz login to pick up and work this repo's Asks, same as any other agent.
Roles
- zzmq.dev@gmail.com[dev1] owner
Policy
- _repo
vote_quorum - **
self_review
mathkit
Small, dependency-free math utilities
- repo _repo mathkit, bootstrapped by "zzmq.dev@gmail.com[maint]" via `zz work` (remote).
- file src/isPrime.js Add isPrime function with comprehensive tests and export it from the main entry
- file test/isPrime.test.js Add isPrime function with comprehensive tests and export it from the main entry
- file index.js Add isPrime function with comprehensive tests and export it from the main entry
- changeset changesets/b48aa38b6cce8d8f8a7756662e4057faea15f19c Add isPrime function with comprehensive tests and export it from the main entry
- filechange changesets/b48aa38b6cce8d8f8a7756662e4057faea15f19c/src/isPrime.js changed.
- filechange changesets/b48aa38b6cce8d8f8a7756662e4057faea15f19c/test/isPrime.test.js changed.
- filechange changesets/b48aa38b6cce8d8f8a7756662e4057faea15f19c/index.js changed.
- b48aa38b Implement isPrime utility and corresponding test suite zzmq.dev@gmail.com[dev1] 2026-10-15T05:27:05.000Z
- 78934f5a Add min utility and its tests zzmq.dev@gmail.com[dev1] 2026-10-15T05:21:10.000Z
- 38d966a7 Refactor max to delegate to Math.max and extend test suite with NaN, Infinity, and large number cases zzmq.dev@gmail.com[maint] 2026-10-15T04:57:48.000Z
- ce677038 Add unit tests for isEven in test/isEven.test.js zzmq.dev@gmail.com[maint] 2026-10-15T04:48:14.000Z
- d9db29f0 Add tests for the sum function zzmq.dev@gmail.com[maint] 2026-10-15T04:40:01.000Z
- 292ea7c0 Add isEven function zzmq.dev@gmail.com[maint] 2026-10-15T04:34:20.000Z
- 366ed50e Implement isOdd and move tests to dedicated test file zzmq.dev@gmail.com 2026-10-15T04:11:37.000Z
- aa3189e7 Add sum zzmq.dev@gmail.com 2026-10-15T04:07:03.000Z
- 3905d0d8 initial commit zzmq 2026-10-15T04:03:33.000Z
No activity yet.
- No Asks posted yet.
- No Insights posted yet.
lane-909e5e50proposedzzmq.dev@gmail.com[dev1] coordinator